package com.ljp.chat.entity.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ChatEnum {

    PUBLIC_MSG("1", "公共聊天消息"),
    PRIVATE_MSG("2", "私秘聊天信息"),
    CLOSE_SOCKET("3", "关闭socket连接"),
    USER_LIST("4", "在线用户列表"),
    JOIN_CHAT("5", "加入聊天室");

    private String code;
    private String data;
}
